package com.applink.sell_proof.model;

import java.util.ArrayList;
import java.util.List;


public class Question {
	private long id;
	private String content;
	private List<Answer> answers;
	
	
	public List<Answer> getAnswers() {
		return answers;
	}
	public void setAnswers(List<Answer> answers) {
		this.answers = answers;
	}
	public long getId() {
		return id;
	}
	public void setId(long id) {
		this.id = id;
	}
	public String getContent() {
		return content;
	}
	public void setContent(String content) {
		this.content = content;
	}
	public void addAnswer(Answer answer) {
		if(answers == null) {
			answers = new ArrayList<Answer>();
			answers.add(answer);
		} else answers.add(answer);
	}
}
